﻿using CPPEI.Coolzon.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Core.Repositories
{
    public interface IVersionFileChangesetRepository
    {
        /// <summary>
        /// 增加变更设计文件信息
        /// </summary>
        bool AddVersionFileChangeset(DbContext context, VersionFileChangeset model);
        /// <summary>
        /// 更新变更设计文件信息
        /// </summary>
        bool UpdateVersionFileChangesetById(DbContext context, VersionFileChangeset model);
        /// <summary>
        /// 删除变更设计文件信息
        /// </summary>
        bool DeleteVersionFileChangesetById(DbContext context, Guid Id);
        /// <summary>
        /// 得到变更设计文件信息
        /// </summary>
        VersionFileChangeset GetVersionFileChangesetById(DbContext context, Guid Id);
        /// <summary>
        /// 获得变更设计文件信息数据列表
        /// </summary>
        PagedList<VersionFileChangeset> GetVersionFileChangesetList(DbContext context, int start, int limit);
    }
}
